<? // shop - move to subdomain if can connect to db schema

$schema = $_GET['shop'];

if( mysql_select_db( $schema, $_selectDB ) )	ajax_exit( 'success', 'Redirect to correct subdomain', array( 'redirect'=>"http://$schema.massage150.net" ) );
else						ajax_exit( 'failure', "No shop code: $schema" );

?>
